package com.drg.center.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel("重症监护信息")
@Data
public class PatientCaseCustodyVO implements Serializable {

    @ApiModelProperty("重症监护病房类型")
    private String wardType;

    @ApiModelProperty("进重症监护室时间")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime custodyStartTime;

    @ApiModelProperty("出重症监护室时间")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime custodyEndTime;

    @ApiModelProperty("监护时长，小时")
    private Integer custodyTime;
}
